import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  // history: createWebHistory(import.meta.env.BASE_URL),
  history: createWebHistory(),
  routes: [
    {
      path: '/',
      name: 'login',
      component: () => import('../views/useLogin.vue')
    },
    {
      path: '/login',
      name: 'login',
      component: () => import('../views/useLogin.vue')
    },
    {
      path: '/about',
      name: 'about',
      component: () => import('../views/AboutView.vue')
    },
    {
      path: '/download',
      name: 'download',
      component: () => import('../views/Download.vue')
    },
    {
      path: '/settings',
      name: 'settings',
      component: () => import('../views/Settings.vue')

    }
    // {
    //   path: '/help',
    //   name: 'help',
    //   component: () => import('../views/Help.vue')
    // }
  ]
})

export default router
